WT_DECLARE_WT_MEMBER(1,JavaScriptConstructor,"WDoubleValidator",function(h,b,c,d,e,f,i,g,j,k){this.validate=function(a){function l(m){return m.replace(new RegExp("([\\^\\\\\\][\\-.$*+?()|{}])","g"),"\\$1")}a=String(a);if(b)a=a.trim();if(a.length==0)return h?{valid:false,message:i}:{valid:true};if(f!="")a=a.replace(new RegExp(l(f),"g"),"");if(e!=".")a=a.replace(e,".");if(a.indexOf(" ")>=0&&!b)return{valid:false,message:g};a=Number(a);if(isNaN(a))return{valid:false,message:g};if(c!==null)if(a<c)return{valid:false,
message:j};if(d!==null)if(a>d)return{valid:false,message:k};return{valid:true}}});
